package Level02_two;

public class Song {
    //周杰伦正在演唱菊花台歌曲(使用匿名对象)
    private String sing;

    void hum(Person person){
        System.out.println(person.getName()+"正在演唱"+sing);
    }

    public Song(String brand) {
        this.sing = brand;
    }
    public Song() {

    }

    public String getBrand() {
        return sing;
    }

    public void setBrand(String brand) {
        this.sing = brand;
    }
}
